package com.wyj.util;

import org.springframework.stereotype.Component;

@Component
public class RedisKeyUtil {


    private static final String SPLIT = ":";
    private static final String PREFIX_USER = "gameUser";
    private static final String PREFIX_TOKEN ="token";


    public String getGameUserKey() {
        return PREFIX_USER + SPLIT;
    }

    public String getToken(String uuid) {
        return PREFIX_TOKEN + SPLIT + uuid;
    }

}
